include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/package.mk

PKG_NAME:=skysoft_schedule_upgrade
PKG_VERSION:=1
PKG_BUILD_DIR:= $(BUILD_DIR)/$(PKG_NAME)

define Package/skysoft_schedule_upgrade
  SECTION:=Skysoft
  CATEGORY:=Skysoft Proprietary software
  TITLE:=Skysoft Schedule Firmware Upgrade
endef

define Package/skysoft_schedule_upgrade/Description
  This package contains skysoft application for schedule firmware upgrade
endef


define Build/Prepare 
	mkdir -p $(PKG_BUILD_DIR) 
endef 

define Build/Compile/Default

endef
Build/Compile = $(Build/Compile/Default)

define Package/skysoft_schedule_upgrade/install 
	$(INSTALL_DIR) $(1)/etc/config/
	$(INSTALL_CONF) ./files/schedule_upgrade.config $(1)/etc/config/schedule_upgrade
	$(INSTALL_DIR) $(1)/sbin
	$(INSTALL_BIN) ./files/sbin/* $(1)/sbin/
endef



$(eval $(call BuildPackage,skysoft_schedule_upgrade))
